package com.idheima.lon;

public class GuanliClass {
    private String name;
    private int classroom;
    private String time;
    private String endtime;
    private String teacher;

    public GuanliClass() {
    }

    public GuanliClass(String name, int classroom, String time, String endtime, String teacher) {
        this.name = name;
        this.classroom = classroom;
        this.time = time;
        this.endtime = endtime;
        this.teacher = teacher;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getClassroom() {
        return classroom;
    }

    public void setClassroom(int classroom) {
        this.classroom = classroom;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "GuanliClass{" +
                "name='" + name + '\'' +
                ", classroom=" + classroom +
                ", time='" + time + '\'' +
                ", endtime='" + endtime + '\'' +
                ", teacher='" + teacher + '\'' +
                '}';
    }
}
